package com.catsic.zcjc.condition;
import java.util.List;

import org.apache.commons.lang3.StringUtils;

import com.catsic.base.conditon.Condition;

public class EquipDataCondition implements Condition{

	/**
	 * 
	 */
	private static final long serialVersionUID = -900161295992162448L;

	private String stationId;
	
	private String equipId;
	
	private List<String> equipIdList;
	
	private String beginDate;
	
	private String endDate;
	
	private String comeFrom;

	public String getEquipId() {
		return equipId;
	}

	public void setEquipId(String equipId) {
		this.equipId = equipId;
	}

	public List<String> getEquipIdList() {
		return equipIdList;
	}

	public void setEquipIdList(List<String> equipIdList) {
		this.equipIdList = equipIdList;
	}

	public String getStationId() {
		if(StringUtils.isNotBlank(stationId)){
			stationId = stationId.replace("station_", "");
		}
		return stationId;
	}

	public void setStationId(String stationId) {
		this.stationId = stationId;
	}

	public String getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(String beginDate) {
		this.beginDate = beginDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public String getComeFrom() {
		return comeFrom;
	}

	public void setComeFrom(String comeFrom) {
		this.comeFrom = comeFrom;
	}

	
}
